# -*- coding: utf-8 -*-
# 求质数
p = [2]
for i in range(2, 101):
    for temp in range(2, i):
        if i % temp == 0:
            break
        elif temp == i-1:
            p.append(i)
print('打印质数：')
print(p)
